package com.apinji.common.domain.wrapper;

import com.apinji.common.plugin.fastjson.JSONUtils;

/**
 * Created by 轩辕夏夏 on 2017/7/3.
 */
public class Reply {
    private Boolean success;
    private Integer code;
    private String message;
    private Object data;
    private Object option;

    public Reply() {
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object getOption() {
        return option;
    }

    public void setOption(Object option) {
        this.option = option;
    }

    @Override
    public String toString() {
        return JSONUtils.parseJsonStr(this);
    }
}
